package com.ruoyi.project.module.propertyConstraint.processor.impl;

import com.ruoyi.project.module.propertyConstraint.processor.api.PropertyConstraintProcessor;
import com.ruoyi.project.module.propertyConstraint.processor.scan.PropConstraint;
import org.springframework.context.annotation.Primary;

@Primary
@PropConstraint( value = "noneValuePropertyConstraintProcessorImpl",name = "none",description = "允许任何字符")
public class NoneValuePropertyConstraintProcessorImpl implements PropertyConstraintProcessor {
    @Override
    public boolean verification(String propValue, String beanParameter) {
        return true;
    }

    @Override
    public String valueSelectType() {
        return "none";
    }

    @Override
    public Object getValueSelect(String propValue, String beanParameter) {
        return null;
    }
}
